package de.gympu.gympulan.gplserver.protocol;

import java.io.PrintWriter;

public class GPLServerBaseProtocol {
	private PrintWriter out;
	
	public GPLServerBaseProtocol(PrintWriter output) {
		this.out = output;
	}
	
	public void welcome() {
		out.println("100\tWelcome to GymPuLan");
	}

	public void givePluginID() {
		out.println("200\tGive PluginID to connect");
	}
	
	public void pluginDoesNotExist() {
		out.println("300\tPlugin does not exist!");
	}
	
	public void quit() {
		out.println("400\tQuit.");
	}
	
	public void messageFromConnectedProtocol(String message) {
		out.println("500\t" + message);
	}

	public void unknownCommand() {
		out.println("999");
	}
}
